<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{zlfxList.bundleName}"/>
    <head>
        <title>#{text['zlfxList.title']}</title>
        <meta name="heading" content="#{text['zlfxList.heading']}"/>
        <meta name="menu" content="ZlfxMenu"/>
    </head>
<body id="zlfxList">
<h:form id="editZlfx">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="zlfxs" var="zlfx" style="margin-top: 10px"
    value="#{zlfxList.zlfxs}" rows="25" sortColumn="#{zlfxList.sortColumn}"
    sortAscending="#{zlfxList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="enysbl" arrow="true">
                <h:outputText value="#{text['zlfx.enysbl']}" />
            </t:commandSortHeader>
        </f:facet>
          <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.enysbl}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="enysje" arrow="true">
                <h:outputText value="#{text['zlfx.enysje']}" />
            </t:commandSortHeader>
        </f:facet>
           <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.enysje}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="hjbl" arrow="true">
                <h:outputText value="#{text['zlfx.hjbl']}" />
            </t:commandSortHeader>
        </f:facet>
            <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.hjbl}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="hjje" arrow="true">
                <h:outputText value="#{text['zlfx.hjje']}" />
            </t:commandSortHeader>
        </f:facet>
            <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.hjje}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ynyxbl" arrow="true">
                <h:outputText value="#{text['zlfx.ynyxbl']}" />
            </t:commandSortHeader>
        </f:facet>
             <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.ynyxbl}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ynyxje" arrow="true">
                <h:outputText value="#{text['zlfx.ynyxje']}" />
            </t:commandSortHeader>
        </f:facet>
            <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.ynyxje}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="yzenbl" arrow="true">
                <h:outputText value="#{text['zlfx.yzenbl']}" />
            </t:commandSortHeader>
        </f:facet>
          <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.yzenbl}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="yzenje" arrow="true">
                <h:outputText value="#{text['zlfx.yzenje']}" />
            </t:commandSortHeader>
        </f:facet>
         <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.yzenje}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zklx" arrow="true">
                <h:outputText value="#{text['zlfx.zklx']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.zklx}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <!-- <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['zlfx.id']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{zlfxForm.edit}" value="#{zlfx.id}">
            <f:param name="zlfxid" value="#{zlfx.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['zlfx.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zlfx.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['zlfx.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zlfx.version}" escape="true"/>
    </t:column>
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['zlfx.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zlfx.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['zlfx.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zlfx.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['zlfx.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{zlfx.xh}" escape="true"/>
    </t:column>
       <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="ny" arrow="true">
                <h:outputText value="#{text['zlfx.ny']}" />
            </t:commandSortHeader>
        </f:facet>
    <t:column>
     -->
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="zlfxs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editZlfx:zlfxs");
</script>

</h:form>
</body>
</f:view>
</html> 